package com.ssyu.examination.system.entity;

import java.util.Date;

public class ClazzEntity {
	private int id;
	private String name;
	private String courseId;
	private int operateUserId;
	private Date operateTime;
	private int state;
	private String memo;

	private String course__text;

	public ClazzEntity() {
		super();
	}

	public ClazzEntity(int id, String name, String courseId, int operateUserId,
			Date operateTime, int state, String memo) {
		super();
		this.id = id;
		this.name = name;
		this.courseId = courseId;
		this.operateUserId = operateUserId;
		this.operateTime = operateTime;
		this.state = state;
		this.memo = memo;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public int getOperateUserId() {
		return operateUserId;
	}

	public void setOperateUserId(int operateUserId) {
		this.operateUserId = operateUserId;
	}

	public Date getOperateTime() {
		return operateTime;
	}

	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}

	public int getState() {
		return state;
	}

	public String getStateStr() {
		if (state == 1) {
			return "启用";
		} else if (state == 2) {
			return "禁用";
		} else {
			return "没有该状态";
		}

	}

	public void setState(int state) {
		this.state = state;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getCourse__text() {
		return course__text;
	}

	public void setCourse__text(String course__text) {
		this.course__text = course__text;
	}

}
